package com.youlemall.mapper;

import com.youlemall.pojo.Goods;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * GoodsMapper 数据访问接口
 * @date 2019-07-12 21:31:32
 * @version 1.0
 */
public interface GoodsMapper extends Mapper<Goods>{


	List<Map<String,Object>> findAll(Goods goods);

	void updateStatus(@Param("columnName")String columnName,
					  @Param("ids") Long[] ids,
					  @Param("status") String status);
}